using System;
using System.Collections.Generic;
using System.Text;

namespace HB.MsgBus
{
    /// <summary>
    /// 事件基础信息
    /// </summary>
    public class EventRouterItemBase
    {
        /// <summary>
        /// 订阅者ID
        /// </summary>
        public string Id { get; internal set; }
        /// <summary>
        /// 订阅者分组
        /// </summary>
        public string Group { get; internal set; }
        /// <summary>
        /// 订阅所属文件名
        /// </summary>

        public string SubscribeFilePath { get; internal set; }
       
        /// <summary>
        /// 订阅所属代码行数
        /// </summary>
        public int SubscribeLineNumber { get; internal set; }
       
        /// <summary>
        /// 订阅所属函数名
        /// </summary>
        public string SubscribeFunctionName { get; internal set; }
       
        /// <summary>
        /// 是否只执行一次
        /// </summary>
        public bool IsExecOnce { get; internal set; }
        /// <summary>
        /// 是否运行在UI线程
        /// </summary>
        public bool RunOnUIThread { get; internal set; }
    }
}
